package com.svs.quartz.helper;

import java.util.HashMap;
import java.util.Map;

import org.apache.commons.lang3.StringUtils;

public class WisDataGroupHelper {

	public static final Integer SYNCWAY_0 = 0 ;
	public static final Integer SYNCWAY_1 = 1 ;
	public static final Integer SYNCWAY_2 = 2 ;
	
	public static final Integer LINKED_COL = 1 ;
	
	public static final String VALUE_DATE = "DATE" ;
	public static final String VALUE_USER_ID = "USERID" ;
	public static final String VALUE_USER_NAME = "USERNAME" ;
	
	private static final Map<String,String> valueMap = new HashMap<String, String>(){

		/**
		 * 
		 */
		private static final long serialVersionUID = 1L;

		{
			put(VALUE_DATE,"当前日期");
			put(VALUE_USER_ID,"当前用户ID");
			put(VALUE_USER_NAME,"当前用户名");
		}
			
	} ;
	
	
	public static final String getDvalueStr(String value){
		String result = valueMap.get(value);
		if(StringUtils.isEmpty(result)) {
			result = value ;
		}
		return result ;
	}
}
